.class Lcom/example/m6wmr/SearchActivity$7;
.super Landroid/os/Handler;
.source "SearchActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/SearchActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/SearchActivity;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/SearchActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;

    .line 227
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lcom/example/m6wmr/SearchActivity$7;)Lcom/example/m6wmr/SearchActivity;
    .locals 1

    .prologue
    .line 227
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;

    return-object v0
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 12
    .param p1, "msg"    # Landroid/os/Message;

    .prologue
    const/4 v5, 0x0

    .line 229
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 230
    iget v0, p1, Landroid/os/Message;->arg1:I

    sparse-switch v0, :sswitch_data_0

    .line 340
    :goto_0
    :sswitch_0
    return-void

    .line 235
    :sswitch_1
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->tv:Landroid/widget/TextView;
    invoke-static {v0}, Lcom/example/m6wmr/SearchActivity;->access$9(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/TextView;

    move-result-object v0

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setVisibility(I)V

    .line 236
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->tv2:Landroid/widget/TextView;
    invoke-static {v0}, Lcom/example/m6wmr/SearchActivity;->access$10(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/TextView;

    move-result-object v0

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_0

    .line 240
    :sswitch_2
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->page:I
    invoke-static {v0}, Lcom/example/m6wmr/SearchActivity;->access$11(Lcom/example/m6wmr/SearchActivity;)I

    move-result v0

    const/4 v1, 0x1

    if-ne v0, v1, :cond_0

    .line 241
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->shopls:Ljava/util/List;
    invoke-static {v0}, Lcom/example/m6wmr/SearchActivity;->access$12(Lcom/example/m6wmr/SearchActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->clear()V

    .line 243
    :cond_0
    const/4 v8, 0x0

    .local v8, "i":I
    :goto_1
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->temshopls:Ljava/util/List;
    invoke-static {v0}, Lcom/example/m6wmr/SearchActivity;->access$13(Lcom/example/m6wmr/SearchActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lt v8, v0, :cond_1

    .line 247
    iget-object v11, p0, Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;

    new-instance v0, Ldata/ShopData2;

    iget-object v1, p0, Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->mcontext:Landroid/content/Context;
    invoke-static {v1}, Lcom/example/m6wmr/SearchActivity;->access$1(Lcom/example/m6wmr/SearchActivity;)Landroid/content/Context;

    move-result-object v1

    iget-object v2, p0, Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->shopls:Ljava/util/List;
    invoke-static {v2}, Lcom/example/m6wmr/SearchActivity;->access$12(Lcom/example/m6wmr/SearchActivity;)Ljava/util/List;

    move-result-object v2

    .line 248
    iget-object v3, p0, Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;

    invoke-virtual {v3}, Lcom/example/m6wmr/SearchActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v3

    iget-object v4, p0, Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->lv_shop:Landroid/widget/ListView;
    invoke-static {v4}, Lcom/example/m6wmr/SearchActivity;->access$14(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/ListView;

    move-result-object v4

    invoke-direct/range {v0 .. v5}, Ldata/ShopData2;-><init>(Landroid/content/Context;Ljava/util/List;Landroid/content/Context;Landroid/widget/ListView;I)V

    .line 247
    invoke-static {v11, v0}, Lcom/example/m6wmr/SearchActivity;->access$15(Lcom/example/m6wmr/SearchActivity;Ldata/ShopData2;)V

    .line 249
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->lv_shop:Landroid/widget/ListView;
    invoke-static {v0}, Lcom/example/m6wmr/SearchActivity;->access$14(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/ListView;

    move-result-object v0

    iget-object v1, p0, Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->spbd:Ldata/ShopData2;
    invoke-static {v1}, Lcom/example/m6wmr/SearchActivity;->access$16(Lcom/example/m6wmr/SearchActivity;)Ldata/ShopData2;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 250
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->lv_shop:Landroid/widget/ListView;
    invoke-static {v0}, Lcom/example/m6wmr/SearchActivity;->access$14(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/ListView;

    move-result-object v0

    invoke-static {v0}, Lcom/example/m6wmr/SearchActivity;->seth(Landroid/widget/ListView;)V

    .line 252
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->lv_shop:Landroid/widget/ListView;
    invoke-static {v0}, Lcom/example/m6wmr/SearchActivity;->access$14(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/ListView;

    move-result-object v0

    new-instance v1, Lcom/example/m6wmr/SearchActivity$7$1;

    invoke-direct {v1, p0}, Lcom/example/m6wmr/SearchActivity$7$1;-><init>(Lcom/example/m6wmr/SearchActivity$7;)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    goto :goto_0

    .line 244
    :cond_1
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->temshopls:Ljava/util/List;
    invoke-static {v0}, Lcom/example/m6wmr/SearchActivity;->access$13(Lcom/example/m6wmr/SearchActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, v8}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Lbean/ShopBean;

    .line 245
    .local v6, "bb":Lbean/ShopBean;
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->shopls:Ljava/util/List;
    invoke-static {v0}, Lcom/example/m6wmr/SearchActivity;->access$12(Lcom/example/m6wmr/SearchActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, v6}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 243
    add-int/lit8 v8, v8, 0x1

    goto :goto_1

    .line 290
    .end local v6    # "bb":Lbean/ShopBean;
    .end local v8    # "i":I
    :sswitch_3
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->tv:Landroid/widget/TextView;
    invoke-static {v0}, Lcom/example/m6wmr/SearchActivity;->access$9(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/TextView;

    move-result-object v0

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_0

    .line 295
    :sswitch_4
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->tv2:Landroid/widget/TextView;
    invoke-static {v0}, Lcom/example/m6wmr/SearchActivity;->access$10(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/TextView;

    move-result-object v0

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_0

    .line 299
    :sswitch_5
    new-instance v7, Ldata/SecrahgoodsAdapter;

    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;

    iget-object v1, p0, Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->good:Ljava/util/List;
    invoke-static {v1}, Lcom/example/m6wmr/SearchActivity;->access$17(Lcom/example/m6wmr/SearchActivity;)Ljava/util/List;

    move-result-object v1

    invoke-direct {v7, v0, v1}, Ldata/SecrahgoodsAdapter;-><init>(Landroid/content/Context;Ljava/util/List;)V

    .line 300
    .local v7, "ga":Ldata/SecrahgoodsAdapter;
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->lv_goods:Landroid/widget/ListView;
    invoke-static {v0}, Lcom/example/m6wmr/SearchActivity;->access$18(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/ListView;

    move-result-object v0

    invoke-virtual {v0, v7}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 301
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->lv_goods:Landroid/widget/ListView;
    invoke-static {v0}, Lcom/example/m6wmr/SearchActivity;->access$18(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/ListView;

    move-result-object v0

    invoke-static {v0}, Lcom/example/m6wmr/SearchActivity;->seth(Landroid/widget/ListView;)V

    .line 302
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;

    # getter for: Lcom/example/m6wmr/SearchActivity;->lv_goods:Landroid/widget/ListView;
    invoke-static {v0}, Lcom/example/m6wmr/SearchActivity;->access$18(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/ListView;

    move-result-object v0

    new-instance v1, Lcom/example/m6wmr/SearchActivity$7$2;

    invoke-direct {v1, p0}, Lcom/example/m6wmr/SearchActivity$7$2;-><init>(Lcom/example/m6wmr/SearchActivity$7;)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    .line 322
    const-string v0, "8888888888"

    const-string v1, "88888888888"

    invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    goto/16 :goto_0

    .line 325
    .end local v7    # "ga":Ldata/SecrahgoodsAdapter;
    :sswitch_6
    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v9

    .line 326
    .local v9, "id":Ljava/lang/String;
    new-instance v10, Landroid/content/Intent;

    invoke-direct {v10}, Landroid/content/Intent;-><init>()V

    .line 327
    .local v10, "intent":Landroid/content/Intent;
    const-string v0, "shopid"

    invoke-virtual {v10, v0, v9}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 328
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;

    .line 329
    const-class v1, Lcom/example/m6wmr/ShopDishesActivity;

    .line 328
    invoke-virtual {v10, v0, v1}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 332
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;

    invoke-virtual {v0, v10}, Lcom/example/m6wmr/SearchActivity;->startActivity(Landroid/content/Intent;)V

    .line 334
    const-string v0, "8888888888"

    const-string v1, "88888888888"

    invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    goto/16 :goto_0

    .line 230
    :sswitch_data_0
    .sparse-switch
        0x0 -> :sswitch_0
        0x2 -> :sswitch_1
        0x3 -> :sswitch_2
        0x6 -> :sswitch_3
        0x8 -> :sswitch_5
        0x14 -> :sswitch_6
        0x6f -> :sswitch_4
    .end sparse-switch
.end method
